Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example files #42

Merged
merged 5 commits into from
Oct 3, 2024
Merged

Fix example files #42

merged 5 commits into from
Oct 3, 2024

Conversation

dbhart
Copy link
Collaborator

@dbhart dbhart commented Oct 2, 2024

Resolves #41. The examples had errors that were not caught during the CI testing. In addition to fixing the errors, the CI testing was improved so that these errors could be caught in the future.

Fixes: Missing class call in example files #41

The ipython notebooks were not being tested. This led to an error in the example notebooks which are now fixed. The testing of any ipynb notebooks checked into the repo has also been added.
@dbhart dbhart linked an issue Oct 2, 2024 that may be closed by this pull request
@dbhart dbhart added the bug Something isn't working label Oct 2, 2024
@dbhart dbhart requested a review from tzeitle October 2, 2024 22:27
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.25%. Comparing base (1e07249) to head (94c32f2).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   86.14%   88.25%   +2.10%     
==========================================
  Files           8        8              
  Lines        1992     1992              
==========================================
+ Hits         1716     1758      +42     
+ Misses        276      234      -42     
Components Coverage Δ
python code 85.49% <ø> (+2.61%) ⬆️
C++ code ∅ <ø> (∅)
tests 99.74% <ø> (ø)

@dbhart dbhart self-assigned this Oct 2, 2024
matplotlib missing
.github/workflows/continuous-integration.yml Show resolved Hide resolved
.github/workflows/continuous-testing.yml Show resolved Hide resolved
.github/workflows/release.yml Show resolved Hide resolved
.pre-commit-config.yaml Show resolved Hide resolved
examples/baseline.json Show resolved Hide resolved
examples/basic.ipynb Show resolved Hide resolved
examples/regression.ipynb Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
Copy link
Collaborator

@tzeitle tzeitle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that tests run correctly in Python notebooks.

@dbhart dbhart merged commit edb6d70 into main Oct 3, 2024
25 checks passed
@dbhart dbhart deleted the 41-missing-class-call-in-example-files branch October 3, 2024 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing class call in example files
2 participants